package com.dimples;

import com.dimples.service.UserService;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/1/7
 */
public class XmlApplication {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring.xml");
		UserService userService = applicationContext.getBean(UserService.class);
		System.out.println("userService = " + userService);
	}

}
